import { createRouter, createWebHashHistory } from "vue-router";
import staticRoutes from "./static-routes";

/**
 * @description 路由配置
 * @author ellwood
 * @date 2025-01-21
 * @version V1.0.0
 */

const router = createRouter({
  history: createWebHashHistory(import.meta.env.VITE_APP_BASE ?? "/"),
  routes: [...staticRoutes],
});

export default router;
